package com.biu.billiards.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biu.billiards.model.bo.GoodsBO;
import com.biu.billiards.model.bo.HardwareBO;
import com.biu.billiards.model.entity.Billiards;
import com.biu.billiards.model.entity.Hardware;
import com.baomidou.mybatisplus.extension.service.IService;
import com.biu.billiards.model.vo.goods.AddGoodsVo;
import com.biu.billiards.model.vo.goods.GetGoodsVo;
import com.biu.billiards.model.vo.goods.UpdateGoodsVO;
import com.biu.billiards.model.vo.hardware.AddHardwareVo;
import com.biu.billiards.model.vo.hardware.GetHardwareVo;
import com.biu.billiards.model.vo.hardware.UpdateHardwareVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xue
 * @since 2023-11-11
 */
public interface IHardwareService extends IService<Hardware> {


    Hardware getHardware(String deviceId);


//    Hardware getSubHardware(Integer shopId);


    String getSubHardware(String deviceId);

    Integer getShopId(String id);

    IPage<HardwareBO> getHardwarePage(GetHardwareVo getHardwareVo);

    Boolean updateHardware(UpdateHardwareVO updateHardwareVO);

    Boolean addHardware(AddHardwareVo addHardwareVo);

    Boolean deleteHardware(Integer hardwareId);

}
